<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Teams extends CI_Controller {

    /**
     *   网站后台
     *   王超伟
     * 	 2012.09.25
     * 	 art2006art#gmail.com
     */
    public function __construct() {
        parent::__construct();
        $this->load->helper('url');
        $this->load->helper('file');
        $this->load->helper('form');
        $this->load->helper('func');
        $this->load->database();
        $this->load->model('menu_process');
        $this->load->model('person_process');
    }

    public function index() {
        //或的action
        $class_name = __CLASS__;
        $data["menu_array"] = $this->menu_process->menu_front_list();
        $data["person_array"] = $this->person_process->person_list();
        $data["menu_single_array"] = get_menu_array(strtolower($class_name));
       // print_r($date["menu_single_array"]);
//echo base_url("uploads/banner/{$date["menu_single_array"][0]["banner"]}");
   
       
        $this->load->view('front/header_view', $data);
        $this->load->view('front/teams_view', $data);
        $this->load->view('front/footer_view');
    }

}

/* End of file admin.php */
/* Location: ./application/controllers/admin.php */